/*
package com.zjh.mybase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjh.mybase.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {

}
*/
// Mapper 接口
package com.zjh.mybase.mapper;

import com.zjh.mybase.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
   // @Select("select * from user where id = 1")
    User selectById(Long id);
}
